import Qt 4.7

Image {
    id: button

    signal quitRequested()

    width: 64
    height: 64

    source: buttonMouseArea.containsMouse ? "gfx/exit_btn_pressed.png" : "gfx/exit_btn.png"
    MouseArea {
        id: buttonMouseArea
        anchors.fill:  parent
        onClicked: button.quitRequested();
    }
}
